projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84ec77
)
gtkstatusicon: Use symbolic names for button numbers
author
Carlos Garcia Campos
<cgarcia@igalia.com>
Wed, 25 Jan 2012 17:55:29 +0000
(18:55 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Fri, 27 Jan 2012 08:47:44 +0000
(09:47 +0100)
gtk/gtkstatusicon.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstatusicon.c
b/gtk/gtkstatusicon.c
index e6d5520d2ed395592638244ca8666ad06eecd5e2..1dffba88279cf25be041f3c0b694737cc9d6f1ff 100644
(file)
--- a/
gtk/gtkstatusicon.c
+++ b/
gtk/gtkstatusicon.c
@@
-1625,7
+1625,7
@@
gtk_status_icon_button_press (GtkStatusIcon *status_icon,
emit_popup_menu_signal (status_icon, event->button, event->time);
return TRUE;
}
- else if (event->button ==
1
&& event->type == GDK_BUTTON_PRESS)
+ else if (event->button ==
GDK_BUTTON_PRIMARY
&& event->type == GDK_BUTTON_PRESS)
{
emit_activate_signal (status_icon);
return TRUE;